package simplyrugby.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 训练
 * @TableName training
 */
@TableName(value ="training")
@Data
public class Training implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id")
    private String id;

    /**
     * 
     */
    @TableField(value = "training_team_id")
    private String trainingTeamId;

    /**
     * 
     */
    @TableField(value = "training_name")
    private String trainingName;

    /**
     * 
     */
    @TableField(value = "training_time")
    private Date trainingTime;

    @TableField(exist = false)
    private Team team;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}